package com.ruoyi.project.erp.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

@Data
public class TaskMemberListVO {

    /** 主键 */
    private Long id;

    /** 任务ID */
    @Excel(name = "任务ID")
    private Long taskId;
    @Excel(name = "任务名称")
    private String taskName;

    /** 成员ID */
    @Excel(name = "成员ID")
    private String userId;
    @Excel(name = "成员名称")
    private String userName;
    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 加入任务时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "加入任务时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

}
